//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['Reverend Horton Heat','Middle Ages Beer Hall','Syracuse, NY','Wednesday','6/12/2024','8:00 PM','6310196','Reverend-Horton-Heat-6-12-2024'],['Broadway's Rock Of Ages Band','Paramount Theater Hudson Valley','Peekskill, NY','Friday','6/14/2024','8:00 PM','6308687','Broadway-s-Rock-Of-Ages-Band-6-14-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Thursday','7/18/2024','7:30 PM','6072477','Rock-Of-Ages-7-18-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Friday','7/19/2024','8:00 PM','6072478','Rock-Of-Ages-7-19-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','7/20/2024','2:00 PM','6072479','Rock-Of-Ages-7-20-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','7/20/2024','8:00 PM','6072480','Rock-Of-Ages-7-20-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Sunday','7/21/2024','2:00 PM','6072481','Rock-Of-Ages-7-21-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Wednesday','7/24/2024','7:30 PM','6072482','Rock-Of-Ages-7-24-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Thursday','7/25/2024','7:30 PM','6072483','Rock-Of-Ages-7-25-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Friday','7/26/2024','8:00 PM','6072484','Rock-Of-Ages-7-26-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','7/27/2024','2:00 PM','6072485','Rock-Of-Ages-7-27-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','7/27/2024','8:00 PM','6072486','Rock-Of-Ages-7-27-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Sunday','7/28/2024','2:00 PM','6072487','Rock-Of-Ages-7-28-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Sunday','7/28/2024','7:30 PM','6072488','Rock-Of-Ages-7-28-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Thursday','8/1/2024','7:30 PM','6072489','Rock-Of-Ages-8-1-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Friday','8/2/2024','8:00 PM','6072490','Rock-Of-Ages-8-2-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','8/3/2024','2:00 PM','6072491','Rock-Of-Ages-8-3-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','8/3/2024','8:00 PM','6072492','Rock-Of-Ages-8-3-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Sunday','8/4/2024','2:00 PM','6072493','Rock-Of-Ages-8-4-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Sunday','8/4/2024','7:30 PM','6072494','Rock-Of-Ages-8-4-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Thursday','8/8/2024','7:30 PM','6072495','Rock-Of-Ages-8-8-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Friday','8/9/2024','8:00 PM','6073526','Rock-Of-Ages-8-9-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','8/10/2024','2:00 PM','6073527','Rock-Of-Ages-8-10-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','8/10/2024','8:00 PM','6073528','Rock-Of-Ages-8-10-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Sunday','8/11/2024','2:00 PM','6073529','Rock-Of-Ages-8-11-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Sunday','8/11/2024','7:30 PM','6073530','Rock-Of-Ages-8-11-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Thursday','8/15/2024','7:30 PM','6073531','Rock-Of-Ages-8-15-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Friday','8/16/2024','8:00 PM','6073532','Rock-Of-Ages-8-16-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','8/17/2024','2:00 PM','6073533','Rock-Of-Ages-8-17-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','8/17/2024','8:00 PM','6073534','Rock-Of-Ages-8-17-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Sunday','8/18/2024','2:00 PM','6073535','Rock-Of-Ages-8-18-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Sunday','8/18/2024','7:30 PM','6073536','Rock-Of-Ages-8-18-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Thursday','8/22/2024','7:30 PM','6073537','Rock-Of-Ages-8-22-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Friday','8/23/2024','8:00 PM','6073538','Rock-Of-Ages-8-23-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','8/24/2024','2:00 PM','6073539','Rock-Of-Ages-8-24-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','8/24/2024','8:00 PM','6073540','Rock-Of-Ages-8-24-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Sunday','8/25/2024','2:00 PM','6073541','Rock-Of-Ages-8-25-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Sunday','8/25/2024','7:30 PM','6073542','Rock-Of-Ages-8-25-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Thursday','8/29/2024','7:30 PM','6073543','Rock-Of-Ages-8-29-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Friday','8/30/2024','8:00 PM','6073544','Rock-Of-Ages-8-30-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','8/31/2024','2:00 PM','6073545','Rock-Of-Ages-8-31-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Saturday','8/31/2024','8:00 PM','6073546','Rock-Of-Ages-8-31-2024'],['Rock Of Ages','Seacoast Repertory Theatre','Portsmouth, NH','Sunday','9/1/2024','2:00 PM','6073547','Rock-Of-Ages-9-1-2024'],['Broadway's Rock Of Ages Band','Kansas State Fair','Hutchinson, KS','Thursday','9/12/2024','7:30 PM','6339020','Broadway-s-Rock-Of-Ages-Band-9-12-2024'],['Rock Of Ages Band','The Historic Bal Theatre','San Leandro, CA','Saturday','9/28/2024','8:00 PM','6304414','Rock-Of-Ages-Band-9-28-2024']],'Rock of Ages','http://www.ticketnetwork.com/ticket/Rock-of-Ages-events.aspx');